﻿function winClose() {
    if (!window.closed) {
        window.opener = null;
        window.open('', '_self');
        window.close(0);
    }
}